home *** CD-ROM | disk | FTP | other *** search
-
- #
- # This makefile is automatically generated by imake... do not modify
- # or you may lose your changes when imake generates makefiles again.
- # Ignore this message if you are not using imake.
- #
- # $Source: \mit\kerberos\src\util\imake.includes\RCS\Imake.template,v $
- # $Author: steiner $
- # $Header: Imake.template,v 4.3 88\12\09 15:41:52 steiner Exp $
- #
-
- NEWTOP=..\.
- BUILDTOP=..\.
-
- DEPEND=$(BUILDTOP)\makedepd\makedepd
-
- IMAKE=$(BUILDTOP)\util\imake\imake -I$(BUILDTOP)\util\imake.includes
-
- INCLUDE= -I$(BUILDTOP)\include
- LINTFLAGS=$(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
-
- # $Source: \mit\kerberos\src\util\imake.includes\RCS\config.Imakefile,v $
- # $Author: jtkohl $
- # $Header: config.Imakefile,v 4.10 89\01\05 14:56:16 jtkohl Exp $
- #
-
- GLOBAL_CDEFS= -DATHENA_COMPAT -DATHENA -DKERBEROS -DVFS $(NOENCFLAG) $(DBMFLAG)
-
- SRCTOP=d:\kerb
-
- DESTDIR=
-
- SVRDIR= \usr\etc
- ATHENADIR=\usr\athena
- LIBDIR= \usr\athena\lib
- LINTLIBDIR = \usr\lib\lint
- BINDIR= \usr\bin
- UCBDIR= \usr\ucb
- ETCDIR= \etc
- DAEMDIR= \usr\etc
- SLASHBINDIR= \bin
- INCLDIR= \usr\include
- MANDIR= \usr\man
-
- KRB_LIB=$(BUILDTOP)\lib\skrb.lib
- KRB_LIBDEP=$(KRB_LIB)
- KRB_LINTLIB=$(BUILDTOP)\lib\krb\llib-lkrb.ln
- KRB_ADM=$(BUILDTOP)\lib\kadm\libkadm.a
- KRB_ADMDEP=$(KRB_ADM)
-
- NOENCFLAG=
- DES_LIB=$(BUILDTOP)\lib\sdes.lib
- DES_LIBDEP=$(DES_LIB)
- DES_LINTLIB=$(BUILDTOP)\lib\des\llib-ldes.ln
-
- DBMFLAG=-DNDBM
- KDB_LIB=$(BUILDTOP)\lib\kdb\libkdb.a
- KDB_LIBDEP=$(KDB_LIB)
-
- COM_ERR=-lcom_err
-
- COM_ERR_DEP=
-
- ARCHIVE= ar cru
-
- RANLIB= ranlib
-
- COMPILE_ET= compile_et
-
- INSTALLFILE= install -m 444
-
- INSTALLLIB= install -m 444
-
- INSTALLPROG= install -m 555
-
- INSTALLRAW= install
-
- INSTALLSUID= install -m 4555 -o root
-
- LD=ld
-
- AS=as
-
- LINT=lint
-
- CC=bccx
-
- CCRO=bccx
-
- HCC=$(CC)
-
- CPP=$(CC) -E
-
- # DBG= /Zi /Oxn
- DBG= -v
-
- DEFINES=-DPC
-
- HCFLAGS=$(CFLAGS)
-
- TAGGER=etags
-
- MAKE=make
- RM=del
- MV=ren
- CP=copy
- LN=ln -s
- LPR=lpr -p
- CHMOD=chmod
-
- DEF_UID = 113
-
- # $Source: \mit\kerberos\src\util\imake.includes\RCS\Imake.rules,v $
- # $Author: jtkohl $
- # $Header: Imake.rules,v 4.7 89\01\05 14:22:05 jtkohl Exp $
- #
-
- # $Source: \mit\kerberos\src\appl\sample\RCS\Imakefile,v $
- # $Author: steiner $
- # $Header: Imakefile,v 1.2 88\12\09 16:05:14 steiner Exp $
- #
- # Copyright 1987, 1988 by the Massachusetts Institute of Technology.
- #
- # For copying and distribution information,
- # please see the file <mit-copyright.h>.
-
- # Imakefile for sample application.
-
- SRCDIR=$(SRCTOP)\sample
-
- SRCS=sam_clnt.c
-
- CODE=$(SRCS) Imakefile
-
- # CFLAGS=-Zp $(DBG) $(INCLUDE) $(DEFINES) # $(GLOBAL_CDEFS)
- CFLAGS= -ms $(DBG) $(INCLUDE) $(DEFINES) # $(GLOBAL_CDEFS)
-
- .c.obj:
- $(CC) $(CFLAGS) -c $*.c
-
- all:: sam_clnt.exe
-
- # sam_clnt.exe: sam_clnt.obj $(KRB_LIBDEP) $(DES_LIBDEP)
- # $(CC) $(CFLAGS) sam_clnt.obj $(KRB_LIB) $(DES_LIB) slibsock.lib /link /stack:16000
-
- sam_clnt.exe: sam_clnt.obj $(KRB_LIBDEP) $(DES_LIBDEP)
- $(CC) $(CFLAGS) sam_clnt.obj \xln\lib\slibsock.lib $(KRB_LIB) $(DES_LIB)
-
- clean::
- $(RM) sam_clnt sam_clnt.obj
-
- all:: cleanup.exe
-
- cleanup.exe: cleanup.obj
- $(CC) $(CFLAGS) cleanup.obj \xln\lib\slibsock.lib
-
- all::
-
- sim_clnt.exe: simple.h sim_clnt.obj $(KRB_LIBDEP) $(DES_LIBDEP)
- $(CC) -DDEBUG $(CFLAGS) sim_clnt.obj $(KRB_LIB) $(DES_LIB) slibsock.lib /link /stack:16000
-
- clean::
- $(RM) sim_clnt sim_clnt.obj
-
- all::
-
- sample_server: sample_server.o $(KRB_LIBDEP) $(DES_LIBDEP)
- $(CC) $(CFLAGS) -o $@ sample_server.o $(KRB_LIBDEP) $(DES_LIBDEP) $(KRB_LIB) $(DES_LIB) slibsock.lib
-
- clean::
- $(RM) sample_server sample_server.o
-
- depend:: $(SRCS)
- @echo "### Now computing dependencies"
- @$(DEPEND) $(CFLAGS) $(SRCS)
-
- clean::
- $(RM) *~ \#* *.bak $(TAGSFILE)
-
- tags::
- $(TAGGER) *.c *.h
-
- Makefile::
- -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
- $(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile
-
- print:: $(CODE)
- $(LPR) $(CODE)
-
- src:: $(CODE)
-
- install::
-
- Makefiles::
-
- # DO NOT DELETE THIS LINE
-
- # DO NOT DELETE THIS LINE -- make depend depends on it.
-
- sam_clnt.obj: ..\.\include/mit_copy.h h:\include/stdio.h
- sam_clnt.obj: h:\include/sys/types.h h:\include/sys/socket.h
- sam_clnt.obj: h:\include/netinet/in.h h:\include/netdb.h ..\.\include/krb.h
- sam_clnt.obj: ..\.\include/conf.h ..\.\include/osconf.h
- sam_clnt.obj: ..\.\include/conf-pc.h ..\.\include/des.h
-